//
//  FMManageObject.h
//  ZAPlayer
//
//  Created by 邹奥 on 16/4/28.
//  Copyright © 2016年 zouao. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "FMDatabase.h"
#import "FMDatabaseAdditions.h"

@interface FMManageObject : NSObject

@property (nonatomic,strong) FMDatabase  *db;
//创建数据库
+ (FMManageObject *)standerDefault;

//歌曲下载-查询
- (NSArray *)onSelectCustomMusicFileCount;
//歌曲下载-根据文件名查询数据库是否存在
- (NSArray *)SelectTableWithFileID:(NSString *)fileName;
//歌曲下载-插入文件数据
- (BOOL)insertTableWithId:(NSString *)idStr withFileName:(NSString *)fileName withFileID:(NSString *)fileID withUrl:(NSString *)url withSize:(NSString *)size withType:(NSString *)type;
//歌曲下载-删除文件数据
- (BOOL)deleteCunstomFileID:(NSString *)CateID;

@end
